<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EOS.IO: contracts/eoslib/varint.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN3.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_ae9b15dd87e066e1908bbd90e8f38627.html">contracts</a></li><li class="navelem"><a class="el" href="dir_3fea0bf1ce879ce73e6ecec98007efcd.html">eoslib</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">varint.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="varint_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;</div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="structunsigned__int.html">   14</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structunsigned__int.html">unsigned_int</a> {</div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="structunsigned__int.html#aaaeee21167478df0b454f001d0567cd7">   15</a></span>&#160;    <a class="code" href="structunsigned__int.html#aaaeee21167478df0b454f001d0567cd7">unsigned_int</a>( <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> v = 0 ):<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a>(v){}</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="structunsigned__int.html#adda0360df1de313f0df5c5570aebdfdd">   18</a></span>&#160;    <a class="code" href="structunsigned__int.html#adda0360df1de313f0df5c5570aebdfdd">unsigned_int</a>( T v ):<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a>(v){}</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;    <span class="comment">//operator uint32_t()const { return value; }</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;    <span class="comment">//operator uint64_t()const { return value; }</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="structunsigned__int.html#a5627f0b22068d1761f2e416e7ae64a3c">   24</a></span>&#160;    <span class="keyword">operator</span> T()<span class="keyword">const </span>{ <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>T<span class="keyword">&gt;</span>(<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a>); }</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="structunsigned__int.html#a266e32e489226d4a38dd90bc756187f8">   26</a></span>&#160;    <a class="code" href="structunsigned__int.html">unsigned_int</a>&amp; <a class="code" href="structunsigned__int.html#a266e32e489226d4a38dd90bc756187f8">operator=</a>( <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> v ) { <a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a> = v; <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    </div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">   28</a></span>&#160;    <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> <a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a>;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="structunsigned__int.html#a08687d9bd50d9dec64808a19580f2a47">   30</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structunsigned__int.html#a08687d9bd50d9dec64808a19580f2a47">operator==</a>( <span class="keyword">const</span> <a class="code" href="structunsigned__int.html">unsigned_int</a>&amp; i, <span class="keyword">const</span> <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&amp; v )     { <span class="keywordflow">return</span> i.<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a> == v; }</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="structunsigned__int.html#a8c6aae02c0e6500d98d56544b4c49da0">   31</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structunsigned__int.html#a8c6aae02c0e6500d98d56544b4c49da0">operator==</a>( <span class="keyword">const</span> <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&amp; i, <span class="keyword">const</span> <a class="code" href="structunsigned__int.html">unsigned_int</a>&amp; v )     { <span class="keywordflow">return</span> i       == v.<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a>; }</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="structunsigned__int.html#add87b4023be256deec5ac1afe4faf17c">   32</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structunsigned__int.html#add87b4023be256deec5ac1afe4faf17c">operator==</a>( <span class="keyword">const</span> <a class="code" href="structunsigned__int.html">unsigned_int</a>&amp; i, <span class="keyword">const</span> <a class="code" href="structunsigned__int.html">unsigned_int</a>&amp; v ) { <span class="keywordflow">return</span> i.<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a> == v.<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a>; }</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="structunsigned__int.html#a53410718318d48dd4e6279103b351663">   34</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structunsigned__int.html#a53410718318d48dd4e6279103b351663">operator!=</a>( <span class="keyword">const</span> <a class="code" href="structunsigned__int.html">unsigned_int</a>&amp; i, <span class="keyword">const</span> <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&amp; v )     { <span class="keywordflow">return</span> i.<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a> != v; }</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="structunsigned__int.html#a1f618b0b2975a066c658435fb7eca0f9">   35</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structunsigned__int.html#a1f618b0b2975a066c658435fb7eca0f9">operator!=</a>( <span class="keyword">const</span> <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&amp; i, <span class="keyword">const</span> <a class="code" href="structunsigned__int.html">unsigned_int</a>&amp; v )     { <span class="keywordflow">return</span> i       != v.<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a>; }</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="structunsigned__int.html#a897385977d9c06e539a1c19dbdffb5ec">   36</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structunsigned__int.html#a897385977d9c06e539a1c19dbdffb5ec">operator!=</a>( <span class="keyword">const</span> <a class="code" href="structunsigned__int.html">unsigned_int</a>&amp; i, <span class="keyword">const</span> <a class="code" href="structunsigned__int.html">unsigned_int</a>&amp; v ) { <span class="keywordflow">return</span> i.<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a> != v.<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a>; }</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="structunsigned__int.html#a1ff316df3fa8ffdc0886d48e4d50e7f2">   38</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structunsigned__int.html#a1ff316df3fa8ffdc0886d48e4d50e7f2">operator&lt;</a>( <span class="keyword">const</span> <a class="code" href="structunsigned__int.html">unsigned_int</a>&amp; i, <span class="keyword">const</span> <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&amp; v )      { <span class="keywordflow">return</span> i.<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a> &lt; v; }</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="structunsigned__int.html#a9672c0a7766d6491003103052ddc692b">   39</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structunsigned__int.html#a9672c0a7766d6491003103052ddc692b">operator&lt;</a>( <span class="keyword">const</span> <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&amp; i, <span class="keyword">const</span> <a class="code" href="structunsigned__int.html">unsigned_int</a>&amp; v )      { <span class="keywordflow">return</span> i       &lt; v.<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a>; }</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="structunsigned__int.html#a5c44ed2d978a1bdaf65166f98592192c">   40</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structunsigned__int.html#a5c44ed2d978a1bdaf65166f98592192c">operator&lt;</a>( <span class="keyword">const</span> <a class="code" href="structunsigned__int.html">unsigned_int</a>&amp; i, <span class="keyword">const</span> <a class="code" href="structunsigned__int.html">unsigned_int</a>&amp; v )  { <span class="keywordflow">return</span> i.<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a> &lt; v.<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a>; }</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="structunsigned__int.html#abf1274ffb924723bc12f17544159c799">   42</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structunsigned__int.html#abf1274ffb924723bc12f17544159c799">operator&gt;=</a>( <span class="keyword">const</span> <a class="code" href="structunsigned__int.html">unsigned_int</a>&amp; i, <span class="keyword">const</span> <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&amp; v )     { <span class="keywordflow">return</span> i.<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a> &gt;= v; }</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="structunsigned__int.html#ad6f6d75188bb59e24af40ff8aa4de947">   43</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structunsigned__int.html#ad6f6d75188bb59e24af40ff8aa4de947">operator&gt;=</a>( <span class="keyword">const</span> <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&amp; i, <span class="keyword">const</span> <a class="code" href="structunsigned__int.html">unsigned_int</a>&amp; v )     { <span class="keywordflow">return</span> i       &gt;= v.<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a>; }</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="structunsigned__int.html#aedda267438195592daa499b41727101a">   44</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structunsigned__int.html#aedda267438195592daa499b41727101a">operator&gt;=</a>( <span class="keyword">const</span> <a class="code" href="structunsigned__int.html">unsigned_int</a>&amp; i, <span class="keyword">const</span> <a class="code" href="structunsigned__int.html">unsigned_int</a>&amp; v ) { <span class="keywordflow">return</span> i.<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a> &gt;= v.<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a>; }</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> DataStream&gt;</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structunsigned__int.html#a3df4fdc722c22ec765f68db19116266e">   46</a></span>&#160;    <span class="keyword">friend</span> DataStream&amp; <a class="code" href="structunsigned__int.html#a3df4fdc722c22ec765f68db19116266e">operator &lt;&lt; </a>( DataStream&amp; ds, <span class="keyword">const</span> <a class="code" href="structunsigned__int.html">unsigned_int</a>&amp; v ){</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;       <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> val = v.<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a>;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;       <span class="keywordflow">do</span> {</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;          <a class="code" href="group__types.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> b = <a class="code" href="group__types.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>(val) &amp; 0x7f;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;          val &gt;&gt;= 7;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;          b |= ((val &gt; 0) &lt;&lt; 7);</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;          ds.write((<span class="keywordtype">char</span>*)&amp;b,1);<span class="comment">//.put(b);</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;       } <span class="keywordflow">while</span>( val );</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;       <span class="keywordflow">return</span> ds;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    }</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> DataStream&gt;</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="structunsigned__int.html#a63b42b42b55b512f25e5fc9ec6e20787">   58</a></span>&#160;    <span class="keyword">friend</span> DataStream&amp; <a class="code" href="structunsigned__int.html#a63b42b42b55b512f25e5fc9ec6e20787">operator &gt;&gt; </a>( DataStream&amp; ds, <a class="code" href="structunsigned__int.html">unsigned_int</a>&amp; vi ){</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;      <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> v = 0; <span class="keywordtype">char</span> b = 0; <a class="code" href="group__types.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> by = 0;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;      <span class="keywordflow">do</span> {</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;         ds.get(b);</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;         v |= <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>(<a class="code" href="group__types.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>(b) &amp; 0x7f) &lt;&lt; by;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;         by += 7;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;      } <span class="keywordflow">while</span>( <a class="code" href="group__types.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>(b) &amp; 0x80 );</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;      vi.<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a> = <span class="keyword">static_cast&lt;</span><a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a><span class="keyword">&gt;</span>(v);</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;      <span class="keywordflow">return</span> ds;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    }</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;};</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="structsigned__int.html">   75</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structsigned__int.html">signed_int</a> {</div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="structsigned__int.html#aeb8e4505fb74ac10c901ef905ff82d2e">   76</a></span>&#160;    <a class="code" href="structsigned__int.html#aeb8e4505fb74ac10c901ef905ff82d2e">signed_int</a>( <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> v = 0 ):<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a>(v){}</div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="structsigned__int.html#afe5db7c1297bb56cc454fe413959c07c">   77</a></span>&#160;    <span class="keyword">operator</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a>()<span class="keyword">const </span>{ <span class="keywordflow">return</span> <a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a>; }</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="structsigned__int.html#a94d683e2056158e266f64ac0cd60ecaf">   79</a></span>&#160;    <a class="code" href="structsigned__int.html">signed_int</a>&amp; <a class="code" href="structsigned__int.html#a94d683e2056158e266f64ac0cd60ecaf">operator=</a>( <span class="keyword">const</span> T&amp; v ) { <a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a> = v; <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="structsigned__int.html#a21a8dab0e714a1bac2cbd91810ac6a77">   80</a></span>&#160;    <a class="code" href="structsigned__int.html">signed_int</a> <a class="code" href="structsigned__int.html#a21a8dab0e714a1bac2cbd91810ac6a77">operator++</a>(<span class="keywordtype">int</span>) { <span class="keywordflow">return</span> <a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a>++; }</div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="structsigned__int.html#a364a6dedb3372b0c318d0954ba0909d3">   81</a></span>&#160;    <a class="code" href="structsigned__int.html">signed_int</a>&amp; <a class="code" href="structsigned__int.html#a364a6dedb3372b0c318d0954ba0909d3">operator++</a>(){ ++<a class="code" href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">value</a>; <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">   83</a></span>&#160;    <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a>;</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="structsigned__int.html#a7e5690c7ad2505e2297e0e536a3ad740">   85</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structsigned__int.html#a7e5690c7ad2505e2297e0e536a3ad740">operator==</a>( <span class="keyword">const</span> <a class="code" href="structsigned__int.html">signed_int</a>&amp; i, <span class="keyword">const</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a>&amp; v )    { <span class="keywordflow">return</span> i.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a> == v; }</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="structsigned__int.html#aec106017391627bd0e273592c18a0eb5">   86</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structsigned__int.html#aec106017391627bd0e273592c18a0eb5">operator==</a>( <span class="keyword">const</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a>&amp; i, <span class="keyword">const</span> <a class="code" href="structsigned__int.html">signed_int</a>&amp; v )    { <span class="keywordflow">return</span> i       == v.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a>; }</div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="structsigned__int.html#a5612a3dbcbfd3d1fa335aa402c29ac35">   87</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structsigned__int.html#a5612a3dbcbfd3d1fa335aa402c29ac35">operator==</a>( <span class="keyword">const</span> <a class="code" href="structsigned__int.html">signed_int</a>&amp; i, <span class="keyword">const</span> <a class="code" href="structsigned__int.html">signed_int</a>&amp; v ) { <span class="keywordflow">return</span> i.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a> == v.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a>; }</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="structsigned__int.html#a3ee2f31815a95ec9ffd2ab7a7f02d524">   89</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structsigned__int.html#a3ee2f31815a95ec9ffd2ab7a7f02d524">operator!=</a>( <span class="keyword">const</span> <a class="code" href="structsigned__int.html">signed_int</a>&amp; i, <span class="keyword">const</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a>&amp; v )    { <span class="keywordflow">return</span> i.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a> != v; }</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="structsigned__int.html#a6abfcdc55171168e5679ccd9f37ba471">   90</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structsigned__int.html#a6abfcdc55171168e5679ccd9f37ba471">operator!=</a>( <span class="keyword">const</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a>&amp; i, <span class="keyword">const</span> <a class="code" href="structsigned__int.html">signed_int</a>&amp; v )    { <span class="keywordflow">return</span> i       != v.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a>; }</div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="structsigned__int.html#a6e25feb014836d0288a262e5d488533c">   91</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structsigned__int.html#a6e25feb014836d0288a262e5d488533c">operator!=</a>( <span class="keyword">const</span> <a class="code" href="structsigned__int.html">signed_int</a>&amp; i, <span class="keyword">const</span> <a class="code" href="structsigned__int.html">signed_int</a>&amp; v ) { <span class="keywordflow">return</span> i.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a> != v.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a>; }</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="structsigned__int.html#adbae5ebcac1cb6ed6a7547a427c7cf95">   93</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structsigned__int.html#adbae5ebcac1cb6ed6a7547a427c7cf95">operator&lt;</a>( <span class="keyword">const</span> <a class="code" href="structsigned__int.html">signed_int</a>&amp; i, <span class="keyword">const</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a>&amp; v )     { <span class="keywordflow">return</span> i.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a> &lt; v; }</div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="structsigned__int.html#ae0ebf886eb4f8bd58f41626bfc2d88b7">   94</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structsigned__int.html#ae0ebf886eb4f8bd58f41626bfc2d88b7">operator&lt;</a>( <span class="keyword">const</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a>&amp; i, <span class="keyword">const</span> <a class="code" href="structsigned__int.html">signed_int</a>&amp; v )     { <span class="keywordflow">return</span> i       &lt; v.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a>; }</div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="structsigned__int.html#ac2eea5a817b5774997100c0cdb8c81d2">   95</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structsigned__int.html#ac2eea5a817b5774997100c0cdb8c81d2">operator&lt;</a>( <span class="keyword">const</span> <a class="code" href="structsigned__int.html">signed_int</a>&amp; i, <span class="keyword">const</span> <a class="code" href="structsigned__int.html">signed_int</a>&amp; v )  { <span class="keywordflow">return</span> i.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a> &lt; v.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a>; }</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="structsigned__int.html#a0b7eb30fe9fdbc1f375309719ad8248c">   97</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structsigned__int.html#a0b7eb30fe9fdbc1f375309719ad8248c">operator&gt;=</a>( <span class="keyword">const</span> <a class="code" href="structsigned__int.html">signed_int</a>&amp; i, <span class="keyword">const</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a>&amp; v )    { <span class="keywordflow">return</span> i.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a> &gt;= v; }</div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="structsigned__int.html#accb4bcf54dbdec11cdcbd06167d677c9">   98</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structsigned__int.html#accb4bcf54dbdec11cdcbd06167d677c9">operator&gt;=</a>( <span class="keyword">const</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a>&amp; i, <span class="keyword">const</span> <a class="code" href="structsigned__int.html">signed_int</a>&amp; v )    { <span class="keywordflow">return</span> i       &gt;= v.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a>; }</div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="structsigned__int.html#ab249950f493a3623cf845633e07df502">   99</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structsigned__int.html#ab249950f493a3623cf845633e07df502">operator&gt;=</a>( <span class="keyword">const</span> <a class="code" href="structsigned__int.html">signed_int</a>&amp; i, <span class="keyword">const</span> <a class="code" href="structsigned__int.html">signed_int</a>&amp; v ) { <span class="keywordflow">return</span> i.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a> &gt;= v.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a>; }</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> DataStream&gt;</div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="structsigned__int.html#afabc024d2020505d135d9efbcf9e16a8">  104</a></span>&#160;    <span class="keyword">friend</span> DataStream&amp; <a class="code" href="structunsigned__int.html#a3df4fdc722c22ec765f68db19116266e">operator &lt;&lt; </a>( DataStream&amp; ds, <span class="keyword">const</span> <a class="code" href="structsigned__int.html">signed_int</a>&amp; v ){</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;      <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> val = (v.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a>&lt;&lt;1) ^ (v.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a>&gt;&gt;31);</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;      <span class="keywordflow">do</span> {</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;         <a class="code" href="group__types.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> b = <a class="code" href="group__types.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>(val) &amp; 0x7f;</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;         val &gt;&gt;= 7;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;         b |= ((val &gt; 0) &lt;&lt; 7);</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;         ds.write((<span class="keywordtype">char</span>*)&amp;b,1);<span class="comment">//.put(b);</span></div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;      } <span class="keywordflow">while</span>( val );</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;       <span class="keywordflow">return</span> ds;</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    }</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> DataStream&gt;</div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="structsigned__int.html#a7eef08b0d7662636e1b0fa0f90bc8ccd">  115</a></span>&#160;    <span class="keyword">friend</span> DataStream&amp; <a class="code" href="structunsigned__int.html#a63b42b42b55b512f25e5fc9ec6e20787">operator &gt;&gt; </a>( DataStream&amp; ds, <a class="code" href="structsigned__int.html">signed_int</a>&amp; vi ){</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;      <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> v = 0; <span class="keywordtype">char</span> b = 0; <span class="keywordtype">int</span> by = 0;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;      <span class="keywordflow">do</span> {</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;         ds.get(b);</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;         v |= <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>(<a class="code" href="group__types.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>(b) &amp; 0x7f) &lt;&lt; by;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;         by += 7;</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;      } <span class="keywordflow">while</span>( <a class="code" href="group__types.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>(b) &amp; 0x80 );</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;      vi.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a> = ((v&gt;&gt;1) ^ (v&gt;&gt;31)) + (v&amp;0x01);</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;      vi.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a> = v&amp;0x01 ? vi.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a> : -vi.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a>;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;      vi.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a> = -vi.<a class="code" href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">value</a>;</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;      <span class="keywordflow">return</span> ds;</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    }</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;};</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="comment">/// @}</span></div><div class="ttc" id="structunsigned__int_html_a9672c0a7766d6491003103052ddc692b"><div class="ttname"><a href="structunsigned__int.html#a9672c0a7766d6491003103052ddc692b">unsigned_int::operator&lt;</a></div><div class="ttdeci">friend bool operator&lt;(const uint32_t &amp;i, const unsigned_int &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:39</div></div>
<div class="ttc" id="structsigned__int_html_adbae5ebcac1cb6ed6a7547a427c7cf95"><div class="ttname"><a href="structsigned__int.html#adbae5ebcac1cb6ed6a7547a427c7cf95">signed_int::operator&lt;</a></div><div class="ttdeci">friend bool operator&lt;(const signed_int &amp;i, const int32_t &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:93</div></div>
<div class="ttc" id="group__types_html_gaba7bc1797add20fe3efdf37ced1182c5"><div class="ttname"><a href="group__types.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a></div><div class="ttdeci">unsigned char uint8_t</div><div class="ttdef"><b>Definition:</b> types.h:21</div></div>
<div class="ttc" id="structunsigned__int_html_a3df4fdc722c22ec765f68db19116266e"><div class="ttname"><a href="structunsigned__int.html#a3df4fdc722c22ec765f68db19116266e">unsigned_int::operator&lt;&lt;</a></div><div class="ttdeci">friend DataStream &amp; operator&lt;&lt;(DataStream &amp;ds, const unsigned_int &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:46</div></div>
<div class="ttc" id="structsigned__int_html_ae0ebf886eb4f8bd58f41626bfc2d88b7"><div class="ttname"><a href="structsigned__int.html#ae0ebf886eb4f8bd58f41626bfc2d88b7">signed_int::operator&lt;</a></div><div class="ttdeci">friend bool operator&lt;(const int32_t &amp;i, const signed_int &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:94</div></div>
<div class="ttc" id="structsigned__int_html_a0b7eb30fe9fdbc1f375309719ad8248c"><div class="ttname"><a href="structsigned__int.html#a0b7eb30fe9fdbc1f375309719ad8248c">signed_int::operator&gt;=</a></div><div class="ttdeci">friend bool operator&gt;=(const signed_int &amp;i, const int32_t &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:97</div></div>
<div class="ttc" id="structsigned__int_html_aec106017391627bd0e273592c18a0eb5"><div class="ttname"><a href="structsigned__int.html#aec106017391627bd0e273592c18a0eb5">signed_int::operator==</a></div><div class="ttdeci">friend bool operator==(const int32_t &amp;i, const signed_int &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:86</div></div>
<div class="ttc" id="structunsigned__int_html_a247200b83e3cb2019efb8569a7e3937a"><div class="ttname"><a href="structunsigned__int.html#a247200b83e3cb2019efb8569a7e3937a">unsigned_int::value</a></div><div class="ttdeci">uint32_t value</div><div class="ttdef"><b>Definition:</b> varint.hpp:28</div></div>
<div class="ttc" id="structsigned__int_html_a3ee2f31815a95ec9ffd2ab7a7f02d524"><div class="ttname"><a href="structsigned__int.html#a3ee2f31815a95ec9ffd2ab7a7f02d524">signed_int::operator!=</a></div><div class="ttdeci">friend bool operator!=(const signed_int &amp;i, const int32_t &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:89</div></div>
<div class="ttc" id="group__types_html_gaaa5d1cd013383c889537491c3cfd9aad"><div class="ttname"><a href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a></div><div class="ttdeci">unsigned long long uint64_t</div><div class="ttdef"><b>Definition:</b> types.h:18</div></div>
<div class="ttc" id="structunsigned__int_html_adda0360df1de313f0df5c5570aebdfdd"><div class="ttname"><a href="structunsigned__int.html#adda0360df1de313f0df5c5570aebdfdd">unsigned_int::unsigned_int</a></div><div class="ttdeci">unsigned_int(T v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:18</div></div>
<div class="ttc" id="structsigned__int_html_a7e5690c7ad2505e2297e0e536a3ad740"><div class="ttname"><a href="structsigned__int.html#a7e5690c7ad2505e2297e0e536a3ad740">signed_int::operator==</a></div><div class="ttdeci">friend bool operator==(const signed_int &amp;i, const int32_t &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:85</div></div>
<div class="ttc" id="structunsigned__int_html_a1ff316df3fa8ffdc0886d48e4d50e7f2"><div class="ttname"><a href="structunsigned__int.html#a1ff316df3fa8ffdc0886d48e4d50e7f2">unsigned_int::operator&lt;</a></div><div class="ttdeci">friend bool operator&lt;(const unsigned_int &amp;i, const uint32_t &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:38</div></div>
<div class="ttc" id="structunsigned__int_html_abf1274ffb924723bc12f17544159c799"><div class="ttname"><a href="structunsigned__int.html#abf1274ffb924723bc12f17544159c799">unsigned_int::operator&gt;=</a></div><div class="ttdeci">friend bool operator&gt;=(const unsigned_int &amp;i, const uint32_t &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:42</div></div>
<div class="ttc" id="structsigned__int_html_accb4bcf54dbdec11cdcbd06167d677c9"><div class="ttname"><a href="structsigned__int.html#accb4bcf54dbdec11cdcbd06167d677c9">signed_int::operator&gt;=</a></div><div class="ttdeci">friend bool operator&gt;=(const int32_t &amp;i, const signed_int &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:98</div></div>
<div class="ttc" id="structsigned__int_html"><div class="ttname"><a href="structsigned__int.html">signed_int</a></div><div class="ttdoc">serializes a 32 bit signed integer in as few bytes as possible </div><div class="ttdef"><b>Definition:</b> varint.hpp:75</div></div>
<div class="ttc" id="structsigned__int_html_a21a8dab0e714a1bac2cbd91810ac6a77"><div class="ttname"><a href="structsigned__int.html#a21a8dab0e714a1bac2cbd91810ac6a77">signed_int::operator++</a></div><div class="ttdeci">signed_int operator++(int)</div><div class="ttdef"><b>Definition:</b> varint.hpp:80</div></div>
<div class="ttc" id="structunsigned__int_html_aedda267438195592daa499b41727101a"><div class="ttname"><a href="structunsigned__int.html#aedda267438195592daa499b41727101a">unsigned_int::operator&gt;=</a></div><div class="ttdeci">friend bool operator&gt;=(const unsigned_int &amp;i, const unsigned_int &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:44</div></div>
<div class="ttc" id="structunsigned__int_html"><div class="ttname"><a href="structunsigned__int.html">unsigned_int</a></div><div class="ttdef"><b>Definition:</b> varint.hpp:14</div></div>
<div class="ttc" id="group__types_html_ga06896e8c53f721507066c079052171f8"><div class="ttname"><a href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a></div><div class="ttdeci">unsigned long uint32_t</div><div class="ttdef"><b>Definition:</b> types.h:19</div></div>
<div class="ttc" id="structunsigned__int_html_aaaeee21167478df0b454f001d0567cd7"><div class="ttname"><a href="structunsigned__int.html#aaaeee21167478df0b454f001d0567cd7">unsigned_int::unsigned_int</a></div><div class="ttdeci">unsigned_int(uint32_t v=0)</div><div class="ttdef"><b>Definition:</b> varint.hpp:15</div></div>
<div class="ttc" id="structsigned__int_html_ab249950f493a3623cf845633e07df502"><div class="ttname"><a href="structsigned__int.html#ab249950f493a3623cf845633e07df502">signed_int::operator&gt;=</a></div><div class="ttdeci">friend bool operator&gt;=(const signed_int &amp;i, const signed_int &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:99</div></div>
<div class="ttc" id="structsigned__int_html_a94d683e2056158e266f64ac0cd60ecaf"><div class="ttname"><a href="structsigned__int.html#a94d683e2056158e266f64ac0cd60ecaf">signed_int::operator=</a></div><div class="ttdeci">signed_int &amp; operator=(const T &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:79</div></div>
<div class="ttc" id="structsigned__int_html_a6e25feb014836d0288a262e5d488533c"><div class="ttname"><a href="structsigned__int.html#a6e25feb014836d0288a262e5d488533c">signed_int::operator!=</a></div><div class="ttdeci">friend bool operator!=(const signed_int &amp;i, const signed_int &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:91</div></div>
<div class="ttc" id="group__types_html_ga0d2e949ab6a1bb62f1b295cc79bc1f60"><div class="ttname"><a href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a></div><div class="ttdeci">long int32_t</div><div class="ttdef"><b>Definition:</b> types.h:25</div></div>
<div class="ttc" id="structunsigned__int_html_a266e32e489226d4a38dd90bc756187f8"><div class="ttname"><a href="structunsigned__int.html#a266e32e489226d4a38dd90bc756187f8">unsigned_int::operator=</a></div><div class="ttdeci">unsigned_int &amp; operator=(int32_t v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:26</div></div>
<div class="ttc" id="structsigned__int_html_aeb8e4505fb74ac10c901ef905ff82d2e"><div class="ttname"><a href="structsigned__int.html#aeb8e4505fb74ac10c901ef905ff82d2e">signed_int::signed_int</a></div><div class="ttdeci">signed_int(int32_t v=0)</div><div class="ttdef"><b>Definition:</b> varint.hpp:76</div></div>
<div class="ttc" id="structunsigned__int_html_a1f618b0b2975a066c658435fb7eca0f9"><div class="ttname"><a href="structunsigned__int.html#a1f618b0b2975a066c658435fb7eca0f9">unsigned_int::operator!=</a></div><div class="ttdeci">friend bool operator!=(const uint32_t &amp;i, const unsigned_int &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:35</div></div>
<div class="ttc" id="structunsigned__int_html_ad6f6d75188bb59e24af40ff8aa4de947"><div class="ttname"><a href="structunsigned__int.html#ad6f6d75188bb59e24af40ff8aa4de947">unsigned_int::operator&gt;=</a></div><div class="ttdeci">friend bool operator&gt;=(const uint32_t &amp;i, const unsigned_int &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:43</div></div>
<div class="ttc" id="structunsigned__int_html_a897385977d9c06e539a1c19dbdffb5ec"><div class="ttname"><a href="structunsigned__int.html#a897385977d9c06e539a1c19dbdffb5ec">unsigned_int::operator!=</a></div><div class="ttdeci">friend bool operator!=(const unsigned_int &amp;i, const unsigned_int &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:36</div></div>
<div class="ttc" id="structsigned__int_html_aa943a3c55006fb2cc4e88afd6edc1755"><div class="ttname"><a href="structsigned__int.html#aa943a3c55006fb2cc4e88afd6edc1755">signed_int::value</a></div><div class="ttdeci">int32_t value</div><div class="ttdef"><b>Definition:</b> varint.hpp:83</div></div>
<div class="ttc" id="structunsigned__int_html_a63b42b42b55b512f25e5fc9ec6e20787"><div class="ttname"><a href="structunsigned__int.html#a63b42b42b55b512f25e5fc9ec6e20787">unsigned_int::operator&gt;&gt;</a></div><div class="ttdeci">friend DataStream &amp; operator&gt;&gt;(DataStream &amp;ds, unsigned_int &amp;vi)</div><div class="ttdef"><b>Definition:</b> varint.hpp:58</div></div>
<div class="ttc" id="structunsigned__int_html_a8c6aae02c0e6500d98d56544b4c49da0"><div class="ttname"><a href="structunsigned__int.html#a8c6aae02c0e6500d98d56544b4c49da0">unsigned_int::operator==</a></div><div class="ttdeci">friend bool operator==(const uint32_t &amp;i, const unsigned_int &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:31</div></div>
<div class="ttc" id="structunsigned__int_html_add87b4023be256deec5ac1afe4faf17c"><div class="ttname"><a href="structunsigned__int.html#add87b4023be256deec5ac1afe4faf17c">unsigned_int::operator==</a></div><div class="ttdeci">friend bool operator==(const unsigned_int &amp;i, const unsigned_int &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:32</div></div>
<div class="ttc" id="structunsigned__int_html_a08687d9bd50d9dec64808a19580f2a47"><div class="ttname"><a href="structunsigned__int.html#a08687d9bd50d9dec64808a19580f2a47">unsigned_int::operator==</a></div><div class="ttdeci">friend bool operator==(const unsigned_int &amp;i, const uint32_t &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:30</div></div>
<div class="ttc" id="structsigned__int_html_a5612a3dbcbfd3d1fa335aa402c29ac35"><div class="ttname"><a href="structsigned__int.html#a5612a3dbcbfd3d1fa335aa402c29ac35">signed_int::operator==</a></div><div class="ttdeci">friend bool operator==(const signed_int &amp;i, const signed_int &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:87</div></div>
<div class="ttc" id="structunsigned__int_html_a53410718318d48dd4e6279103b351663"><div class="ttname"><a href="structunsigned__int.html#a53410718318d48dd4e6279103b351663">unsigned_int::operator!=</a></div><div class="ttdeci">friend bool operator!=(const unsigned_int &amp;i, const uint32_t &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:34</div></div>
<div class="ttc" id="structsigned__int_html_a6abfcdc55171168e5679ccd9f37ba471"><div class="ttname"><a href="structsigned__int.html#a6abfcdc55171168e5679ccd9f37ba471">signed_int::operator!=</a></div><div class="ttdeci">friend bool operator!=(const int32_t &amp;i, const signed_int &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:90</div></div>
<div class="ttc" id="structunsigned__int_html_a5c44ed2d978a1bdaf65166f98592192c"><div class="ttname"><a href="structunsigned__int.html#a5c44ed2d978a1bdaf65166f98592192c">unsigned_int::operator&lt;</a></div><div class="ttdeci">friend bool operator&lt;(const unsigned_int &amp;i, const unsigned_int &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:40</div></div>
<div class="ttc" id="structsigned__int_html_a364a6dedb3372b0c318d0954ba0909d3"><div class="ttname"><a href="structsigned__int.html#a364a6dedb3372b0c318d0954ba0909d3">signed_int::operator++</a></div><div class="ttdeci">signed_int &amp; operator++()</div><div class="ttdef"><b>Definition:</b> varint.hpp:81</div></div>
<div class="ttc" id="structsigned__int_html_ac2eea5a817b5774997100c0cdb8c81d2"><div class="ttname"><a href="structsigned__int.html#ac2eea5a817b5774997100c0cdb8c81d2">signed_int::operator&lt;</a></div><div class="ttdeci">friend bool operator&lt;(const signed_int &amp;i, const signed_int &amp;v)</div><div class="ttdef"><b>Definition:</b> varint.hpp:95</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
